package cn.slb.im.modules.chat.service;

import cn.slb.im.common.utils.PageUtils;
import cn.slb.im.modules.chat.dto.ChatMessageDTO;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.slb.im.modules.chat.entity.ChatEntity;
import org.springframework.scheduling.annotation.Async;

import java.util.Map;

/**
 * 聊天表
 *
 * @author nick
 * @email ld@qq.com
 * @date 2021-12-14 00:55:08
 */
public interface ChatService extends IService<ChatEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveChat(ChatMessageDTO dto);
}

